import { IpcWindow } from "@/util/IpcWindow/IpcWindow";
import { WindowName } from "@/mdesign-lib/mdesign-main.js";

export type Params = {
  projectId: string;
  title: string;
  moreBtnCondition: string;
};

export type CloseData = {
  success: boolean;
  result: {
    modelClassifierId: string;
    startTime: string;
    endTime: string;
    timeLineId: string;
  };
};
export const GanttAddNewWindow = new IpcWindow<Params, CloseData>(WindowName.GanttAddNewWindow);
